---@class SkillEffect342101:BaseSkillEffect
SkillEffect342101 = ClientFight.CreateClass("SkillEffect342101",ClientFight.BaseSkillEffect)
local t = SkillEffect342101

t.SKILL_EFFECT_342101_KILL_AMOUNT = "SKILL_EFFECT_342101_KILL_AMOUNT"
---@param skill FightUsingSkill
---@param target Fighter
---@param result FightResult
function t:killAfter( skill, target, result)
    if (target:isDie() and not target.summons) then
        local fighter = skill.fighter
        local killAmount = fighter.parametersByObject[t.SKILL_EFFECT_342101_KILL_AMOUNT] or  0
        fighter.parametersByObject[t.SKILL_EFFECT_342101_KILL_AMOUNT] = killAmount + 1
        SkillRoleMgr.savePathFile(string.format("[%s][SKILL]莱斯特技能%s 击杀了%s",
        skill.fight.frame, skill.skillModelId, target.fighterId
        ));
    end
end


t.New()